package com.simple.datax.db.mybatis.client;

import com.simple.datax.db.mybatis.model.DataxEnterpriseChannelKey;
import com.simple.datax.db.mybatis.model.DataxSendChannel;
import com.simple.datax.db.mybatis.model.DataxSendChannelCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * @author paladin
 * 
 */
public interface DataxSendChannelMapper {
	int countByExample(DataxSendChannelCriteria example);

	int deleteByExample(DataxSendChannelCriteria example);

	int deleteByPrimaryKey(Long id);

	int insert(DataxSendChannel record);

	int insertSelective(DataxSendChannel record);

	List<DataxSendChannel> selectByExample(DataxSendChannelCriteria example);

	DataxSendChannel selectByPrimaryKey(Long id);

	DataxSendChannel selectByJoinEnterprise(DataxEnterpriseChannelKey key);
	
	int updateByExampleSelective(@Param("record") DataxSendChannel record,
			@Param("example") DataxSendChannelCriteria example);

	int updateByExample(@Param("record") DataxSendChannel record,
			@Param("example") DataxSendChannelCriteria example);

	int updateByPrimaryKeySelective(DataxSendChannel record);

	int updateByPrimaryKey(DataxSendChannel record);
}